package com.happy.cat.project.system.service;

import com.happy.cat.project.system.domain.UserApplyWithdraw;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 用户提现申请Service接口
 *
 * @author verne
 * @date 2020-08-29
 */
public interface IUserApplyWithdrawService extends IService<UserApplyWithdraw> {

    /**
     * 提现次数
     * @param accountName
     * @return
     */
    Integer countsToAccount(String accountName);

    /**
     * 累计提现金额
     * @param accountName
     * @return
     */
    Double sumToAmount(String accountName);
}
